import type { DateModelType } from 'element-plus'
import { useShortcuts } from './useShortcuts'

export type TimeRange = [DateModelType, DateModelType]
export function useTimeRange() {
  const dataTimeRange = ref<TimeRange>(['', ''])
  return {
    shortcuts: useShortcuts(),
    dataTimeRange,
  }
}
